package com.daniel.design.pattern.adapter.class_adapter;

/**
 * @ClassName Computer
 * @Description 计算机类
 * @Author Daniel
 * @Version V1.0.0
 */
public class Computer {
    public String readSd(SdCard sdCard) {
        if (sdCard != null) {
            return sdCard.readSd();
        }
        throw new NullPointerException("sd card is not null.");
    }
}
